laravel carbon get month number

54

carbon get month from date -

$now = Carbon::now();
echo $now->year;
echo $now->month;
echo $now->weekOfYear;

Comments

Submit
0 Comments